package com.cavy.platform.server.domain;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 唐旭
 * @Date 2018/7/18
 */
@Data
public class ContainerInfo {
    //镜像
    protected String image;
    //命令
    protected String command;
    //运行插件的user
    protected String user;
    //挂载的卷
    protected List<ContainerVolume> volumes = new ArrayList<>();
    //环境变量
    protected List<ContainerEnvironment> environments = new ArrayList<>();
    //工作目录
    protected String workDir;
    //插件
    protected ContainerPlugin plugin;

    protected List<StageDependency> dependencyList = new ArrayList<>();
    protected boolean allowFailure = false;
}
